package Submarine;

import javax.swing.*;

public class JinSubmarine extends SeaObject implements EnemyLife,EnemyScore{
    public JinSubmarine() {
        super(63, 19);
    }

    @Override
    public void move() {
        x += speed;
    }

    public ImageIcon getImage() { return Images.Jinsubm; }

    public int getLife(){return 2;}

    public int getScore(){return 80;}
    public SuperMine shootSuperMine(){ return new SuperMine(this.x+this.width,this.y-this.height) ;}
    public SuperMine shootSuperMine1(){ return new SuperMine(this.x+this.width/2,this.y-this.height) ;}
    public SuperMine shootSuperMine2(){ return new SuperMine(this.x,this.y-this.height) ;}
}
